package com;

import com.calculate.Exp4jCalculateInfo;
import lombok.Data;

import java.math.BigDecimal;

@Data
public class Exp4Calcu implements Exp4jCalculateInfo {

    public BigDecimal x;
    public BigDecimal y;

    @Override
    public String getExpression() {
        return "(y/x) + (x*y)";
    }

    @Override
    public Integer scale() {
        return 5;
    }
}
